import type { BasicKeys } from '@/utils/cache/persistent'
import { Persistent } from '@/utils/cache/persistent'

export function setAuthCache(key: BasicKeys, value: any) {
  const fn = Persistent.setLocal
  return fn(key, value, true)
}
